#ifndef CAMERA_H
#define CAMERA_H

#include "boost/shared_ptr.hpp"

#include "SFML/Graphics.hpp"

class Camera
{
public:
    Camera(sf::IntRect charRect);

    void move(sf::Vector2i move); //Moves camera
    void move(sf::Vector2f move); //Moves camera
    void move(int x, int y); //Moves camera
    void characterMove(sf::Vector2f move, sf::IntRect charRect ); //Calculates move vector from character move
    
    sf::View getView() const;
private:
    sf::View view;
};

typedef boost::shared_ptr<Camera> CameraPtr;

#endif /* ITEMDATA_H*/